//
//  CustomTableViewCell.m
//  e家园设计
//
//  Created by lanou on 15/4/13.
//  Copyright (c) 2015年 lanou3g.com. All rights reserved.
//

#import "CustomTableViewCell.h"

@implementation CustomTableViewCell
- (void)dealloc
{
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.image = [[UIImageView alloc] initWithFrame:CGRectMake(0, 10, self.contentView.frame.size.width + 55, 200)];
        [self.contentView addSubview:self.image];
        [self.image release];
        self.titleLable = [[UILabel alloc] initWithFrame:CGRectMake(20, 210, self.contentView.frame.size.width, 20)];
        [self.contentView addSubview:self.titleLable];
        [self.titleLable release];
        self.styleLable = [[UILabel alloc] initWithFrame:CGRectMake(20, 230, self.contentView.frame.size.width, 15)];
        [self.contentView addSubview:self.styleLable];
        [self.styleLable release];
        [self.styleLable setFont:[UIFont systemFontOfSize:15.0]];
        self.styleLable.textColor = [UIColor lightGrayColor];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
